#pragma once

#include "ScriptCompiler/AST/ASTNode.h"
#include "ScriptCompiler/ASTBuilder/ASTBuilder.h"


class CDecoratorNode;
class CScriptFileContext;


class CDecoratorBuilder : public IASTBuilder
{
public:
    CDecoratorBuilder(std::shared_ptr<CScriptFileContext> InContext);

    virtual bool ReadCurentToken() override;

    std::shared_ptr<CDecoratorNode> Result;

protected:
    std::shared_ptr<CScriptFileContext> Context;
};